package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/velocity")
public class VelocityController {

	@RequestMapping("/first")
	public ModelAndView first(){
		
		ModelAndView mv = new ModelAndView("index");
		mv.addObject("msg", "asdfasdfsa\\/./././.");
		return mv;
	}
	
	@RequestMapping("/second")
	public ModelAndView second(){
		
		ModelAndView mv = new ModelAndView("second");
		mv.addObject("msg", "22222222222222");
		return mv;
	}
}
